﻿@{
    string host = HttpContext.Current.Request.Url.AbsolutePath.ToLower();
}
@if (HttpContext.Current.Session["section"] == "Auto")
{
    <article class="breadcrumbs">
        @Html.ActionLink("Общий справочник", "Brands", "Dictionary") 
        <div class="breadcrumb_divider"></div> 
        @Html.ActionLink("Справочник характеристик", "Index", "PropertyDictionary") 
        <div class="breadcrumb_divider"></div> 
        @Html.ActionLink("Модификации -  авто", "Index", "ModelModifications") 
        <div class="breadcrumb_divider"></div> 
        @Html.ActionLink("Модификации -  резина", "Index", "TiresModifications") 
        <div class="breadcrumb_divider"></div> 
        @Html.ActionLink("Модификации -  Диски", "Index", "DiscsModifications") 
    </article>
}
@if (HttpContext.Current.Session["section"] == "Ad")
{
    <article class="breadcrumbs">
        @Html.ActionLink("Настройки", "Index", "Ads") 
         <div class="breadcrumb_divider"></div> 
        @Html.ActionLink("Модерирование", "NewAds", "Ads") 
    </article>
}

@if (HttpContext.Current.Session["section"] == "Firm")
{
    <article class="breadcrumbs">
        @Html.ActionLink("Настройки", "Index", "Firms") 
    </article>
}